package com.okyai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 标签对象 cms_custom_tag
 * 
 * @author okyai
 * @date 2020-12-08
 */
public class CmsCustomTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagName;

    /** 标签类型 */
    @Excel(name = "标签类型")
    private String tagType;

    /** 描述 */
    @Excel(name = "描述")
    private String tagDescription;

    /** SQL */
    @Excel(name = "SQL")
    private String tagSql;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }
    public void setTagType(String tagType) 
    {
        this.tagType = tagType;
    }

    public String getTagType() 
    {
        return tagType;
    }
    public void setTagDescription(String tagDescription) 
    {
        this.tagDescription = tagDescription;
    }

    public String getTagDescription() 
    {
        return tagDescription;
    }
    public void setTagSql(String tagSql) 
    {
        this.tagSql = tagSql;
    }

    public String getTagSql() 
    {
        return tagSql;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagName", getTagName())
            .append("tagType", getTagType())
            .append("tagDescription", getTagDescription())
            .append("tagSql", getTagSql())
            .toString();
    }
}
